<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/5/5
 * Time: 1:40
 */

namespace App\Http\Controllers;



//use Illuminate\Http\Request;

use App\Model\TaoCangType;
use Illuminate\Http\Request;

class TaoCangTypeController extends Controller
{
    public function index(Request $request){
//        $limit = $request->input('limit', 15);
//        $page = $request->input('page', 1);

        $list = TaoCangType::all(['taocang_type_id','taocang_type_name']);


        return $this->success($list);
    }
}